<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <!-- <link rel="stylesheet" href="./css/font.css"> -->
  <link rel="stylesheet" href="./css/xadmin.css">
  <!-- <script src="./lib/layui/layui.js" charset="utf-8"></script> -->
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <!-- 引入 layui.css -->
  <link href="//unpkg.com/layui@2.8.0/dist/css/layui.css" rel="stylesheet">
  <link rel="stylesheet" href="./css/link.css">
  <!-- 引入 layui.js -->
  <script src="//unpkg.com/layui@2.8.0/dist/layui.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
  <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body>
  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
      <a href="">演示</a>
      <a>
        <cite>导航元素</cite></a>
    </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
  </div>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15 dAll">
      <!-- 这是友情链接列表、修改、删除、增加 -->
      <div id="title">
        <div class="text active">文字链接</div>
        <div class="pic">图片链接</div>
        <!-- 新增 -->
        <button type="button" class="layui-btn layui-btn-normal layui-btn-radius layui-btn-primary add"
          lay-on="test-page-custom" style="color: #fff;"><i class="layui-icon layui-icon-add-1"></i> 新增</button>

      </div>
      <div id="text">
        <!-- <p>默认风格:</p> -->
        <table class="layui-table">
          <colgroup>
            <col width="150">
            <col width="150">
            <col>
          </colgroup>
          <thead>
            <tr>
              <th>#</th>
              <th>标题</th>
              <th>链接描述</th>
              <th>链接类型</th>
              <th>链接地址</th>
              <th>操作</th>
            </tr>
          </thead>
          <tbody>
            <!-- <tr>
        <td>孔子</td>
        <td>华夏</td>
        <td>有朋至远方来，不亦乐乎</td>
        <td><img src="./images/aiwrap.png" alt=""></td>
        <td>华夏</td>
        <td>华夏</td>
        <td>
          <button class="layui-btn layui-btn-normal edit">编辑</button>
          <button class="layui-btn layui-btn-danger del">删除</button>
        </td>
      </tr> -->

          </tbody>
        </table>
        <div id="page-box"></div>
      </div>
      <div id="pic" class="hide">
        <!-- <p>默认风格:</p> -->
        <table class="layui-table">
          <colgroup>
            <col width="150">
            <col width="150">
            <col>
          </colgroup>
          <thead>
            <tr>
              <th>#</th>
              <th>链接描述</th>
              <th>链接图片</th>
              <th>链接类型</th>
              <th>链接地址</th>
              <th>操作</th>
            </tr>
          </thead>
          <tbody>
            <!-- <tr>
        <td>孔子</td>
        <td>华夏</td>
        <td>有朋至远方来，不亦乐乎</td>
        <td><img src="./images/aiwrap.png" alt=""></td>
        <td>华夏</td>
        <td>华夏</td>
        <td>
          <button class="layui-btn layui-btn-normal edit">编辑</button>
          <button class="layui-btn layui-btn-danger del">删除</button>
        </td>
      </tr> -->
          </tbody>
        </table>
        <div id="page-box1"></div>
      </div>


    </div>
  </div>

  <!-- <div class="layui-form-item">
    <button type="button" class="layui-btn" id="ID-upload-demo-btn">
      <i class="layui-icon layui-icon-upload"></i> 单图片上传
    </button>
    <div style="width: 132px;">
      <div class="layui-upload-list">
        <img class="layui-upload-img" id="ID-upload-demo-img" style="width: 100%; height: 92px;">

      </div>
    </div>
  </div> -->
</body>
<script src="./js/ajaxBase.js">
</script>
<script src="./js/link.js"></script>

</html>